﻿#include "device.h"

Device::Device()
{

}

Device::Device(const Device &device)
{
    this->config.ip = device.getConfig().ip;
    this->config.port = device.getConfig().port;
}

void Device::setIP(QString ip)
{
    config.ip = ip;
}

void Device::setPort(QString port)
{
    config.port = port;
}

SYSTEM Device::getConfig() const
{
    return config;
}
